﻿using System;
using System.Linq;
using System.Text;
using SqlSugar;

namespace WLYT.Domain.Model
{
    ///<summary>
    ///
    ///</summary>
    [SugarTable("OrderItemDetail")]
    public partial class OrderItemDetail
    {
           public OrderItemDetail(){


           }
           /// <summary>
           /// Desc:
           /// Default:
           /// Nullable:False
           /// </summary>           
           [SugarColumn(IsPrimaryKey=true,IsIdentity=true)]
           public int Id {get;set;}

           /// <summary>
           /// Desc:
           /// Default:0
           /// Nullable:False
           /// </summary>           
           public int OrderId {get;set;}

           /// <summary>
           /// Desc:关联订单号
           /// Default:
           /// Nullable:False
           /// </summary>           
           public string DocNum {get;set;}

           /// <summary>
           /// Desc:单据类型
           /// Default:
           /// Nullable:False
           /// </summary>           
           public string DocType {get;set;}

           /// <summary>
           /// Desc:仓库编码（设备编码）
           /// Default:
           /// Nullable:False
           /// </summary>           
           public string WareCode {get;set;}

           /// <summary>
           /// Desc:
           /// Default:
           /// Nullable:False
           /// </summary>           
           public int OrderItemId {get;set;}

           /// <summary>
           /// Desc:原厂QR码
           /// Default:
           /// Nullable:True
           /// </summary>           
           public string OriginalQR1 {get;set;}

           /// <summary>
           /// Desc:原厂QR码2
           /// Default:
           /// Nullable:True
           /// </summary>           
           public string OriginalQR2 {get;set;}

           /// <summary>
           /// Desc:原厂一维码
           /// Default:
           /// Nullable:True
           /// </summary>           
           public string OriginalBar {get;set;}

           /// <summary>
           /// Desc:物料编码
           /// Default:
           /// Nullable:False
           /// </summary>           
           public string ItemCode {get;set;}

           /// <summary>
           /// Desc:物料名称
           /// Default:
           /// Nullable:False
           /// </summary>           
           public string ItemName {get;set;}

           /// <summary>
           /// Desc:内部标签
           /// Default:
           /// Nullable:True
           /// </summary>           
           public string LabelId {get;set;}

           /// <summary>
           /// Desc:旧二维码
           /// Default:
           /// Nullable:True
           /// </summary>           
           public string OrigLabelId {get;set;}

           /// <summary>
           /// Desc:机器编号
           /// Default:
           /// Nullable:True
           /// </summary>           
           public string MachineNo {get;set;}

           /// <summary>
           /// Desc:贴标状态
           /// Default:0
           /// Nullable:False
           /// </summary>           
           public int Zt {get;set;}

           /// <summary>
           /// Desc:状态
           /// Default:0
           /// Nullable:False
           /// </summary>           
           public int Status {get;set;}

           /// <summary>
           /// Desc:
           /// Default:
           /// Nullable:True
           /// </summary>           
           public string PartNo {get;set;}

           /// <summary>
           /// Desc:
           /// Default:0
           /// Nullable:False
           /// </summary>           
           public int Qty {get;set;}

           /// <summary>
           /// Desc:
           /// Default:
           /// Nullable:True
           /// </summary>           
           public string LotNo {get;set;}

           /// <summary>
           /// Desc:
           /// Default:
           /// Nullable:True
           /// </summary>           
           public string DateCode {get;set;}

           /// <summary>
           /// Desc:
           /// Default:
           /// Nullable:True
           /// </summary>           
           public string SMLevel {get;set;}

           /// <summary>
           /// Desc:操作员
           /// Default:
           /// Nullable:True
           /// </summary>           
           public string Operator {get;set;}

           /// <summary>
           /// Desc:打标时间
           /// Default:DateTime.Now
           /// Nullable:False
           /// </summary>           
           public DateTime CreateTime {get;set;}

           /// <summary>
           /// Desc:图片存储
           /// Default:
           /// Nullable:True
           /// </summary>           
           public string Picture {get;set;}

           /// <summary>
           /// Desc:数据来源
           /// Default:
           /// Nullable:True
           /// </summary>           
           public string DataFrom {get;set;}

           /// <summary>
           /// Desc:是否上传
           /// Default:0
           /// Nullable:False
           /// </summary>           
           public bool IsUpLoad {get;set;}

           /// <summary>
           /// Desc:贴标是否上传
           /// Default:0
           /// Nullable:False
           /// </summary>           
           public bool IsUpLoadLabel {get;set;}

           /// <summary>
           /// Desc:出入库时间
           /// Default:
           /// Nullable:True
           /// </summary>           
           public DateTime? InOrOutTime {get;set;}

           /// <summary>
           /// Desc:数据同步时间
           /// Default:
           /// Nullable:True
           /// </summary>           
           public DateTime? SyncTime {get;set;}

    }
}
